<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
        <title>Adrian Remembers Me - Password Reset</title>
    </head>
    <body>
        {% if success %}
        <p>Your password has been reset. You can now login with your new password.</p>
        <p><a href="/">Index</a></p>
        {% else %}
            {% if code %}
            <p>Reset Your Password</p>
            {% if error %}<p>{{ error }}</p>{% endif %}
            <form action="" method="POST" accept-charset="utf-8">
                <input type="hidden" name="code" value="{{ code }}" />
                <p>New Password: <input type="password" name="password"></p>
                <p>Re-Enter New Password: <input type="password" name="password2"></p>
                <p><input type="submit" value="Submit"></p>
            </form>
            {% else %}
            <p>The URL you tried to use is either incorrect or no longer valid.</p> 
	    {% endif %}
	{% endif %}
    </body>
</html>